package org.jeecg.modules.xl.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: xl_product_customer_price
 * @Author: jeecg-boot
 * @Date:   2024-10-18
 * @Version: V1.0
 */
@Data
@TableName("xl_product_customer_price")
@Getter
public class XlProductCustomerPrice implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private String id;
	/**商品描述*/
	@Excel(name = "商品描述", width = 15)
    @ApiModelProperty(value = "商品描述")
    private String productName;
    /**产品id*/
    @Excel(name = "产品id", width = 15)
    @ApiModelProperty(value = "产品id")
    private java.lang.String productId;
	/**商品UPC条码*/
	@Excel(name = "商品UPC条码", width = 15)
    @ApiModelProperty(value = "商品UPC条码")
    private String upcCode;

    /**其他条码*/
    @Excel(name = "其他条码,请用英文,分割", width = 15)
    @ApiModelProperty(value = "其他条码")
    private java.lang.String otherCode;

    //2025-01-07 10:24:35 添加字段
    /*数据用途，主档，HMHM。。。*/
    private String type;
    /**供货价*/
    @Excel(name = "供货价", width = 15)
    @ApiModelProperty(value = "供货价")
    private java.lang.Double supplyPrice;
    /**租户id*/
    @ApiModelProperty(value = "租户id")
    private String tenantId;

	/**是否删除*/
    @ApiModelProperty(value = "是否删除")
    private String isDeleted;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;

}
